//package cn.wolfcode.wolf2w.business.api;
//
//import cn.wolfcode.wolf2w.business.api.domain.QuestionCollection;
//import cn.wolfcode.wolf2w.common.core.domain.R;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.*;
//
//@FeignClient(contextId = "remoteQuestionCollectionService", value = "travel-question")
//public interface RemoteQuestionCollectionService {
//
//    @PostMapping("/collections/{questionId}")
//    R<?> collect(@PathVariable("questionId") Long questionId, @RequestParam("userId") Long userId);
//
//    @DeleteMapping("/collections/{questionId}")
//    R<?> uncollect(@PathVariable("questionId") Long questionId, @RequestParam("userId") Long userId);
//
//    @GetMapping("/collections/user/{userId}")
//    R<IPage<QuestionCollection>> getUserCollections(
//            @PathVariable("userId") Long userId,
//            @RequestParam(value = "page", defaultValue = "1") Integer page,
//            @RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize);
//}